
import styles from './style.less';


export default (props: any) => {
  const { params } = props.match;
  return (
    <div className={styles.main}>
     {/* <FileViewer fileType={"pdf"}
                                filePath={"/drawing/852f5a2b-0c12-4c92-b42d-84cab07413ee"}
                                // onError={this.onError}
                                // errorComponent={Error}
                                // unsupportedComponent={Error}
                            /> */}
       <object width={'100%'} height={800}  data={"/drawing/"+params.id} ></object> 
    </div>
  );
};